package com.huage_08.lesson_03;

public class BoxDemo {
    public static void main(String[] args) {
        Box box = new Box();
        Producer p = new Producer(box);
        Customer c = new Customer(box);

        Thread pt = new Thread(p);
        Thread ct = new Thread(c);

        pt.start();
        ct.start();
    }
}
